package com.lanchetech.dao;

import com.lanchetech.bean.request.ShareActivityReq;
import com.lanchetech.bean.vo.ShareActivityVo;
import com.lanchetech.entity.ShareActivity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Ren
* @description 针对表【share_activity(分享赚)】的数据库操作Mapper
* @createDate 2023-03-15 14:08:30
* @Entity com.lanchetech.entity.domain.ShareActivity
*/
@Mapper
public interface ShareActivityMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ShareActivity record);

    int insertSelective(ShareActivity record);

    ShareActivity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShareActivity record);

    int updateByPrimaryKey(ShareActivity record);

    List<ShareActivityVo> findAllShareActivity(ShareActivityReq shareActivityReq);

    ShareActivity getByShareActivityId(Long shareActivityId);
}
